package services

import (
	"context"
	"github.com/golang/protobuf/ptypes/empty"
	"github.com/golang/protobuf/ptypes/wrappers"
	context2 "kop/framework/context"
	"kop/modules/activity/client"
	"kop/pb"
)

type ActivityService struct {
	context2.Context
}

func (*ActivityService) Main(ctx context.Context, req *empty.Empty) (*pb.Activities, error) {

	return client.ActivityService.Main(ctx, req)
}

func (*ActivityService) OpenPeerage(ctx context.Context, req *empty.Empty) (*pb.ActivityPeerages, error) {

	return client.ActivityService.OpenPeerage(ctx, req)
}

func (*ActivityService) GetPeerageAward(ctx context.Context, req *wrappers.Int32Value) (*pb.Award, error) {

	return client.ActivityService.GetPeerageAward(ctx, req)
}

func (*ActivityService) Pays(ctx context.Context, req *empty.Empty) (*pb.ActivityPays, error) {

	return client.ActivityService.Pays(ctx, req)
}

func (*ActivityService) GetPayAward(ctx context.Context, req *wrappers.Int32Value) (*pb.Award, error) {

	return client.ActivityService.GetPayAward(ctx, req)
}

func (*ActivityService) Quests(ctx context.Context, req *empty.Empty) (*pb.ActivityQuests, error) {

	return client.ActivityService.Quests(ctx, req)
}

func (*ActivityService) GetQuestAward(ctx context.Context, req *wrappers.Int32Value) (*pb.Award, error) {

	return client.ActivityService.GetQuestAward(ctx, req)
}

func (h *ActivityService) Bounty(ctx context.Context, req *empty.Empty) (*pb.ActivityBountyList, error) {

	return client.ActivityService.Bounty(ctx, req)
}

func (*ActivityService) Ranking(ctx context.Context, req *wrappers.Int32Value) (*pb.ActivityRankingResp, error) {

	return client.ActivityService.Ranking(ctx, req)
}

func (*ActivityService) GetRankingAward(ctx context.Context, req *wrappers.Int32Value) (*pb.Award, error) {

	return client.ActivityService.GetRankingAward(ctx, req)
}

func (*ActivityService) PlayTreasure(ctx context.Context, req *wrappers.Int32Value) (*pb.PointsAward, error) {

	return client.ActivityService.PlayTreasure(ctx, req)
}

func (*ActivityService) TreasGuildRanking(ctx context.Context, req *wrappers.Int32Value) (*pb.GuildRankingResp, error) {

	return client.ActivityService.TreasGuildRanking(ctx, req)
}

func (*ActivityService) GetGuildRankingAward(ctx context.Context, req *wrappers.Int32Value) (*pb.Award, error) {

	return client.ActivityService.GetGuildRankingAward(ctx, req)
}

func (*ActivityService) GuildRanking(ctx context.Context, req *wrappers.Int32Value) (*pb.GuildRankingResp, error) {

	return client.ActivityService.GuildRanking(ctx, req)
}

func (*ActivityService) TreasMessages(ctx context.Context, req *empty.Empty) (*pb.TreasMessages, error) {

	return client.ActivityService.TreasMessages(ctx, req)
}